<%--
    Document   : FormUbahPaket
    Created on : 04 Nov 12, 21:32:30
    Author     : aldya
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.Enumeration"%>
<%@page import="java.util.*"%>
<%@page import="com.bp.Paket" %>
<!DOCTYPE html>

<jsp:useBean id= "paket" scope= "application" class="com.bp.Paket"/>

<%
    String Id_paket = request.getParameter("id_paket");
    String nama_paket = request.getParameter("nama_paket");
    String harga_paket = request.getParameter("harga_paket");
    String lama = request.getParameter("lama");
    String lokasi = request.getParameter("lokasi");
    String fasilitas = request.getParameter("fasilitas");
    String tujuan = request.getParameter("tujuan");
%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Ubah Paket</title>
    </head>
    <body>
    <center> <a href="formUtama.jsp"></a></center>
    <h1>Ubah paket Pariwisata</h1>
    <form method="post" action="ubahpaket">

        <% com.bp.DbBean kon = new com.bp.DbBean();%>

        <h3 algin ="Center"> Form Ubah Paket </h3>
        <table  align ="Center" border=2  bgcolor="F6F6F6">
            <tr>
                <td>Id Paket</td>
                <td>
                    <input type="text" name="id_paket" value="<%=Id_paket%>" size="15">
                </td>
            </tr>
            <tr>
                <td>Nama Paket</td>
                <td>
                    <input type="text" name="nama_paket" value="<%=nama_paket%>" size="15">
                </td>
            </tr>
            <tr>
                <td>Harga</td>
                <td>
                    <input type="text" name="harga_peket" value="<%=harga_paket%>" size="15">
                </td>
            </tr>
            <tr>
            <tr>
                <td>Lama</td>
                <td>
                    <input type="text" name="lama" value="<%=lama%>" size="15">
                </td>
            </tr>
            <tr>
                <td>Lokasi</td>
                <td>
                    <input type="text" name="lokasi" value="<%=lokasi%>" size="15">
                </td>
            </tr>
            <td>Fasilitas</td>
            <td>
                <textarea name="fasilitas" rows="5" cols="20"><%=fasilitas%>
                </textarea>
            </td>
            </tr>
            <tr>
                <td>Tujuan</td>
                <td>
                    <input type="text" name="tujuan" value="<%=tujuan%>" size="15">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <input type="submit" value="Ubah" size="20">
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
